package com.lz.yz.reward.service;

import com.lz.yz.base.entity.ReturnValue;
import com.lz.yz.core.Service;
import com.lz.yz.reward.entity.Reward;
import com.lz.yz.reward.model.RewardModel;
import com.lz.yz.reward.param.RewardParam;


/**
 * Created by CodeGenerator on 2017/11/10.
 */
public interface RewardService extends Service<Reward> {

    /**
     * 发布找大咖
     * @return
     */
    ReturnValue add(RewardModel model);

    /**
     * 找大咖详情
     * @return
     */
    ReturnValue get(RewardParam param);


    /**
     * 找大咖列表
     * @return
     */
    ReturnValue list(RewardParam param);


    /**
     * 获取某一个悬赏中每个众筹人的百分比
     * @return
     */
    ReturnValue rewardPercentagelist(RewardParam param);

}
